package com.hongyi.service.Impl;

import com.hongyi.mapper.OrderMapper;
import com.hongyi.service.OrderService;
import com.hongyi.vo.OrderVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: hongyi
 * @CreateTime: 2024-08-28
 */


@Service
public class OrderServiceImpl implements OrderService {
    @Autowired
    private OrderMapper orderMapper;

    @Override
    public List<OrderVo> findAll() {
        return orderMapper.findAll();
    }
}
